.class Lcom/waiqin365/lightapp/kehu/av;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 12

    const v6, 0x7f080720

    const/4 v11, 0x1

    const/16 v10, 0x8

    const/4 v9, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/af;

    if-eqz v0, :cond_8

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/af;->b()Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    iget v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->f:I

    iget v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->h:I

    iget v3, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->i:I

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/TextView;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-virtual {v5, v6}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->getString(I)Ljava/lang/String;

    move-result-object v5

    new-array v6, v11, [Ljava/lang/Object;

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string/jumbo v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    aput-object v7, v6, v9

    invoke-static {v5, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v6, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v6, ""

    invoke-virtual {v1, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v6, "#ff9008"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-static {v5, v1, v6}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v4, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->o:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)I

    move-result v1

    if-ne v1, v11, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/b/v;->a(Ljava/util/ArrayList;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/b/v;->notifyDataSetChanged()V

    :cond_0
    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/v;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/v;->notifyDataSetChanged()V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    if-ge v2, v3, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->invalidate()V

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_6

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->removeFooterView(Landroid/view/View;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->invalidate()V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->c:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_8
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    if-eqz v0, :cond_9

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/af;->c:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->i(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/view/y;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/y;->dismiss()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;

    if-eqz v0, :cond_10

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/bi;->b()Z

    move-result v1

    if-eqz v1, :cond_10

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_f

    iget v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->f:I

    iget v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->h:I

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/TextView;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-virtual {v3, v6}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-array v4, v11, [Ljava/lang/Object;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    aput-object v5, v4, v9

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ""

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v4, "#ff9008"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-static {v3, v1, v4}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->a(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->i:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->b(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)I

    move-result v1

    if-ne v1, v11, :cond_a

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    if-eqz v1, :cond_a

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_a

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/b/v;->a(Ljava/util/ArrayList;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/b/v;->notifyDataSetChanged()V

    :cond_a
    if-eqz v0, :cond_b

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_b

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/b/v;->a(Ljava/util/ArrayList;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->d(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/kehu/b/v;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/b/v;->notifyDataSetChanged()V

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    if-eqz v0, :cond_d

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->j(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)I

    move-result v1

    if-ge v0, v1, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->c(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_e

    :cond_c
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->e(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    goto :goto_2

    :cond_e
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_f
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->c:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_10
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v9}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    if-eqz v0, :cond_11

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bi;->c:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/av;->a:Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditCheckViewActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0xf
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method
